package com.atguigu.bigdata.scala.mytest.chapter07

object Test_List1 {
  def main(args: Array[String]): Unit = {
    val ints = List(1,2,3)
    val ints1 = List(4,5)
    val tuples: List[(Int, Int)] = ints.zip(ints1)
    println(tuples)

    val list: List[List[Any]] = List(
      List(1, 2), List("a", "c")
    )
    println(list.flatten)


  }

}
